home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 February (DVD) / PCWorld_2008-02_DVD.iso / v cisle / PHP / PHP.exe / EasyPHP-2.0b1-setup.exe / {app} / safe / httpd-safe.conf < prev    next >
Encoding:
Text File  |  2006-11-02  |  38.2 KB  |  1,005 lines

  1. # IMPORTANT
  2. # ${path} is used to specify EasyPHP installation path
  3.  
  4. #
  5. # This is the main Apache HTTP server configuration file.  It contains the
  6. # configuration directives that give the server its instructions.
  7. # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
  8. # In particular, see 
  9. # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
  10. # for a discussion of each configuration directive.
  11. #
  12. # Do NOT simply read the instructions in here without understanding
  13. # what they do.  They're here only as hints or reminders.  If you are unsure
  14. # consult the online docs. You have been warned.  
  15. #
  16. # Configuration and logfile names: If the filenames you specify for many
  17. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  18. # server will use that explicit path.  If the filenames do *not* begin
  19. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
  20. # with ServerRoot set to "${path}/apache" will be interpreted by the
  21. # server as "${path}/apache/logs/foo.log".
  22. #
  23. # NOTE: Where filenames are specified, you must use forward slashes
  24. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
  25. # If a drive letter is omitted, the drive on which Apache.exe is located
  26. # will be used by default.  It is recommended that you always supply
  27. # an explicit drive letter in absolute paths, however, to avoid
  28. # confusion.
  29. #
  30.  
  31. # ThreadsPerChild: constant number of worker threads in the server process
  32. # MaxRequestsPerChild: maximum  number of requests a server process serves
  33. ThreadsPerChild 250
  34. MaxRequestsPerChild  0
  35.  
  36. #
  37. # ServerRoot: The top of the directory tree under which the server's
  38. # configuration, error, and log files are kept.
  39. #
  40. # Do not add a slash at the end of the directory path.  If you point
  41. # ServerRoot at a non-local disk, be sure to point the LockFile directive
  42. # at a local disk.  If you wish to share the same ServerRoot for multiple
  43. # httpd daemons, you will need to change at least LockFile and PidFile.
  44. #
  45. ServerRoot "${path}/apache"
  46.  
  47. #
  48. # Listen: Allows you to bind Apache to specific IP addresses and/or
  49. # ports, instead of the default. See also the <VirtualHost>
  50. # directive.
  51. #
  52. # Change this to Listen on specific IP addresses as shown below to 
  53. # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
  54. #
  55. #Listen 12.34.56.78:80
  56. Listen 127.0.0.1:80
  57.  
  58. #
  59. # Dynamic Shared Object (DSO) Support
  60. #
  61. # To be able to use the functionality of a module which was built as a DSO you
  62. # have to place corresponding `LoadModule' lines at this location so the
  63. # directives contained in it are actually available _before_ they are used.
  64. # Statically compiled modules (those listed by `httpd -l') do not need
  65. # to be loaded here.
  66. #
  67. # Example:
  68. # LoadModule foo_module modules/mod_foo.so
  69. #
  70. LoadModule actions_module modules/mod_actions.so
  71. LoadModule alias_module modules/mod_alias.so
  72. LoadModule asis_module modules/mod_asis.so
  73. LoadModule auth_basic_module modules/mod_auth_basic.so
  74. #LoadModule auth_digest_module modules/mod_auth_digest.so
  75. #LoadModule authn_anon_module modules/mod_authn_anon.so
  76. #LoadModule authn_dbm_module modules/mod_authn_dbm.so
  77. LoadModule authn_default_module modules/mod_authn_default.so
  78. LoadModule authn_file_module modules/mod_authn_file.so
  79. #LoadModule authz_dbm_module modules/mod_authz_dbm.so
  80. LoadModule authz_default_module modules/mod_authz_default.so
  81. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  82. LoadModule authz_host_module modules/mod_authz_host.so
  83. LoadModule authz_user_module modules/mod_authz_user.so
  84. LoadModule autoindex_module modules/mod_autoindex.so
  85. #LoadModule cern_meta_module modules/mod_cern_meta.so
  86. LoadModule cgi_module modules/mod_cgi.so
  87. #LoadModule dav_module modules/mod_dav.so
  88. #LoadModule dav_fs_module modules/mod_dav_fs.so
  89. #LoadModule deflate_module modules/mod_deflate.so
  90. LoadModule dir_module modules/mod_dir.so
  91. LoadModule env_module modules/mod_env.so
  92. #LoadModule expires_module modules/mod_expires.so
  93. #LoadModule file_cache_module modules/mod_file_cache.so
  94. #LoadModule headers_module modules/mod_headers.so
  95. LoadModule imagemap_module modules/mod_imagemap.so
  96. LoadModule include_module modules/mod_include.so
  97. #LoadModule info_module modules/mod_info.so
  98. LoadModule isapi_module modules/mod_isapi.so
  99. LoadModule log_config_module modules/mod_log_config.so
  100. LoadModule mime_module modules/mod_mime.so
  101. #LoadModule mime_magic_module modules/mod_mime_magic.so
  102. #LoadModule proxy_module modules/mod_proxy.so
  103. #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  104. #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  105. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  106. #LoadModule proxy_http_module modules/mod_proxy_http.so
  107. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  108. LoadModule negotiation_module modules/mod_negotiation.so
  109. #LoadModule rewrite_module modules/mod_rewrite.so
  110. LoadModule setenvif_module modules/mod_setenvif.so
  111. #LoadModule speling_module modules/mod_speling.so
  112. #LoadModule status_module modules/mod_status.so
  113. #LoadModule unique_id_module modules/mod_unique_id.so
  114. LoadModule userdir_module modules/mod_userdir.so
  115. #LoadModule usertrack_module modules/mod_usertrack.so
  116. #LoadModule vhost_alias_module modules/mod_vhost_alias.so
  117. #LoadModule ssl_module modules/mod_ssl.so
  118.  
  119. LoadModule php5_module "${path}/php5/php5apache2_2.dll"
  120. PHPIniDir "${path}/apache"
  121. SetEnv TMP "${path}/tmp"
  122.  
  123. # 'Main' server configuration
  124. #
  125. # The directives in this section set up the values used by the 'main'
  126. # server, which responds to any requests that aren't handled by a
  127. # <VirtualHost> definition.  These values also provide defaults for
  128. # any <VirtualHost> containers you may define later in the file.
  129. #
  130. # All of these directives may appear inside <VirtualHost> containers,
  131. # in which case these default settings will be overridden for the
  132. # virtual host being defined.
  133. #
  134.  
  135. #
  136. # ServerAdmin: Your address, where problems with the server should be
  137. # e-mailed.  This address appears on some server-generated pages, such
  138. # as error documents.  e.g. admin@your-domain.com
  139. #
  140. ServerAdmin admin@localhost
  141.  
  142. #
  143. # ServerName gives the name and port that the server uses to identify itself.
  144. # This can often be determined automatically, but we recommend you specify
  145. # it explicitly to prevent problems during startup.
  146. #
  147. # If your host doesn't have a registered DNS name, enter its IP address here.
  148. #
  149. ServerName localhost
  150.  
  151. #
  152. # DocumentRoot: The directory out of which you will serve your
  153. # documents. By default, all requests are taken from this directory, but
  154. # symbolic links and aliases may be used to point to other locations.
  155. #
  156. DocumentRoot "${path}/www"
  157.  
  158. #
  159. # Each directory to which Apache has access can be configured with respect
  160. # to which services and features are allowed and/or disabled in that
  161. # directory (and its subdirectories). 
  162. #
  163. # First, we configure the "default" to be a very restrictive set of 
  164. # features.  
  165. #
  166. <Directory />
  167.     Options FollowSymLinks
  168.     AllowOverride None
  169.     Order deny,allow
  170.     Deny from all
  171.     Satisfy all
  172. </Directory>
  173.  
  174. #
  175. # Note that from this point forward you must specifically allow
  176. # particular features to be enabled - so if something's not working as
  177. # you might expect, make sure that you have specifically enabled it
  178. # below.
  179. #
  180.  
  181. #
  182. # This should be changed to whatever you set DocumentRoot to.
  183. #
  184. <Directory "${path}/www">
  185.     #
  186.     # Possible values for the Options directive are "None", "All",
  187.     # or any combination of:
  188.     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  189.     #
  190.     # Note that "MultiViews" must be named *explicitly* --- "Options All"
  191.     # doesn't give it to you.
  192.     #
  193.     # The Options directive is both complicated and important.  Please see
  194.     # http://httpd.apache.org/docs/2.2/mod/core.html#options
  195.     # for more information.
  196.     #
  197.     Options Indexes FollowSymLinks
  198.  
  199.     #
  200.     # AllowOverride controls what directives may be placed in .htaccess files.
  201.     # It can be "All", "None", or any combination of the keywords:
  202.     #   Options FileInfo AuthConfig Limit
  203.     #
  204.     AllowOverride None
  205.  
  206.     #
  207.     # Controls who can get stuff from this server.
  208.     #
  209.     Order allow,deny
  210.     Allow from all
  211.  
  212. </Directory>
  213.  
  214. #
  215. # DirectoryIndex: sets the file that Apache will serve if a directory
  216. # is requested.
  217. #
  218. <IfModule dir_module>
  219.     DirectoryIndex index.html index.shtml index.wml index.pwml index.php index.php3 index.php4 index.php5
  220. </IfModule>
  221.  
  222. #
  223. # The following lines prevent .htaccess and .htpasswd files from being 
  224. # viewed by Web clients. 
  225. #
  226. <FilesMatch "^\.ht">
  227.     Order allow,deny
  228.     Deny from all
  229. </FilesMatch>
  230.  
  231. #
  232. # ErrorLog: The location of the error log file.
  233. # If you do not specify an ErrorLog directive within a <VirtualHost>
  234. # container, error messages relating to that virtual host will be
  235. # logged here.  If you *do* define an error logfile for a <VirtualHost>
  236. # container, that host's errors will be logged there and not here.
  237. #
  238. ErrorLog logs/error.log
  239.  
  240. #
  241. # LogLevel: Control the number of messages logged to the error_log.
  242. # Possible values include: debug, info, notice, warn, error, crit,
  243. # alert, emerg.
  244. #
  245. LogLevel warn
  246.  
  247. <IfModule log_config_module>
  248.     #
  249.     # The following directives define some format nicknames for use with
  250.     # a CustomLog directive (see below).
  251.     #
  252.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  253.     LogFormat "%h %l %u %t \"%r\" %>s %b" common
  254.  
  255.     <IfModule logio_module>
  256.       # You need to enable mod_logio.c to use %I and %O
  257.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  258.     </IfModule>
  259.  
  260.     #
  261.     # The location and format of the access logfile (Common Logfile Format).
  262.     # If you do not define any access logfiles within a <VirtualHost>
  263.     # container, they will be logged here.  Contrariwise, if you *do*
  264.     # define per-<VirtualHost> access logfiles, transactions will be
  265.     # logged therein and *not* in this file.
  266.     #
  267.     CustomLog logs/access.log common
  268.  
  269.     #
  270.     # If you prefer a logfile with access, agent, and referer information
  271.     # (Combined Logfile Format) you can use the following directive.
  272.     #
  273.     #CustomLog logs/access.log combined
  274. </IfModule>
  275.  
  276. <IfModule alias_module>
  277.     #
  278.     # Redirect: Allows you to tell clients about documents that used to 
  279.     # exist in your server's namespace, but do not anymore. The client 
  280.     # will make a new request for the document at its new location.
  281.     # Example:
  282.     # Redirect permanent /foo http://localhost/bar
  283.  
  284.     #
  285.     # Alias: Maps web paths into filesystem paths and is used to
  286.     # access content that does not live under the DocumentRoot.
  287.     # Example:
  288.     # Alias /webpath /full/filesystem/path
  289.     Alias /images_easyphp "${path}/home/images_easyphp"
  290.     Alias /home/mysql "${path}/phpmyadmin"
  291.     Alias /home/sqlite "${path}/sqlitemanager"
  292.     Alias /home "${path}/home"
  293.     
  294.     #
  295.     # If you include a trailing / on /webpath then the server will
  296.     # require it to be present in the URL.  You will also likely
  297.     # need to provide a <Directory> section to allow access to
  298.     # the filesystem path.
  299.     <Directory "${path}/home/images_easyphp">
  300.         Options Indexes MultiViews
  301.         AllowOverride None
  302.         Order allow,deny
  303.         Allow from all
  304.     </Directory>
  305.     
  306.     <Directory "${path}/phpmyadmin">
  307.         Options FollowSymLinks Indexes
  308.         AllowOverride None
  309.         Order deny,allow
  310.         allow from 127.0.0.1
  311.         deny from all
  312.     </Directory>
  313.     
  314.     <Directory "${path}/sqlitemanager">
  315.         Options FollowSymLinks Indexes
  316.         AllowOverride None
  317.         Order deny,allow
  318.         allow from 127.0.0.1
  319.         deny from all
  320.     </Directory>    
  321.     
  322.     <Directory "${path}/home">
  323.         Options FollowSymLinks Indexes
  324.         AllowOverride None
  325.         Order deny,allow
  326.         allow from 127.0.0.1
  327.         deny from all
  328.     </Directory>
  329.  
  330.     #
  331.     # ScriptAlias: This controls which directories contain server scripts. 
  332.     # ScriptAliases are essentially the same as Aliases, except that
  333.     # documents in the target directory are treated as applications and
  334.     # run by the server when requested rather than as documents sent to the
  335.     # client.  The same rules about trailing "/" apply to ScriptAlias
  336.     # directives as to Alias.
  337.     #
  338.     ScriptAlias /cgi-bin/ "${path}/cgi-bin/"
  339.  
  340. </IfModule>
  341.  
  342. #
  343. # "${path}/cgi-bin" should be changed to whatever your ScriptAliased
  344. # CGI directory exists, if you have that configured.
  345. #
  346. <Directory "${path}/cgi-bin">
  347.     AllowOverride None
  348.     Options None
  349.     Order allow,deny
  350.     Allow from all
  351. </Directory>
  352.  
  353. # Apache parses all CGI scripts for the shebang line by default.
  354. # This comment line, the first line of the script, consists of the symbols
  355. # pound (#) and exclamation (!) followed by the path of the program that 
  356. # can execute this specific script.  For a perl script, with perl.exe in
  357. # the C:\Program Files\Perl directory, the shebang line should be:
  358.  
  359.    #!c:/program files/perl/perl
  360.  
  361. # Note you _must_not_ indent the actual shebang line, and it must be the
  362. # first line of the file.  Of course, CGI processing must be enabled by 
  363. # the appropriate ScriptAlias or Options ExecCGI directives for the files 
  364. # or directory in question.
  365. #
  366. # However, Apache on Windows allows either the Unix behavior above, or can
  367. # use the Registry to match files by extention.  The command to execute 
  368. # a file of this type is retrieved from the registry by the same method as 
  369. # the Windows Explorer would use to handle double-clicking on a file.
  370. # These script actions can be configured from the Windows Explorer View menu, 
  371. # 'Folder Options', and reviewing the 'File Types' tab.  Clicking the Edit
  372. # button allows you to modify the Actions, of which Apache 1.3 attempts to
  373. # perform the 'Open' Action, and failing that it will try the shebang line.
  374. # This behavior is subject to change in Apache release 2.0.
  375. #
  376. # Each mechanism has it's own specific security weaknesses, from the means
  377. # to run a program you didn't intend the website owner to invoke, and the
  378. # best method is a matter of great debate.
  379. #
  380. # To enable the this Windows specific behavior (and therefore -disable- the
  381. # equivilant Unix behavior), uncomment the following directive:
  382. #
  383. #ScriptInterpreterSource registry
  384. #
  385. # The directive above can be placed in individual <Directory> blocks or the
  386. # .htaccess file, with either the 'registry' (Windows behavior) or 'script' 
  387. # (Unix behavior) option, and will override this server default option.
  388. #
  389.  
  390. #
  391. # DefaultType: the default MIME type the server will use for a document
  392. # if it cannot otherwise determine one, such as from filename extensions.
  393. # If your server contains mostly text or HTML documents, "text/plain" is
  394. # a good value.  If most of your content is binary, such as applications
  395. # or images, you may want to use "application/octet-stream" instead to
  396. # keep browsers from trying to display binary files as though they are
  397. # text.
  398. #
  399. DefaultType text/plain
  400.  
  401. <IfModule mime_module>
  402.     #
  403.     # TypesConfig points to the file containing the list of mappings from
  404.     # filename extension to MIME-type.
  405.     #
  406.     TypesConfig conf/mime.types
  407.  
  408.     #
  409.     # AddType allows you to add to or override the MIME configuration
  410.     # file specified in TypesConfig for specific file types.
  411.     #
  412.     #AddType application/x-gzip .tgz
  413.     #
  414.     # AddEncoding allows you to have certain browsers uncompress
  415.     # information on the fly. Note: Not all browsers support this.
  416.     #
  417.     #AddEncoding x-compress .Z
  418.     #AddEncoding x-gzip .gz .tgz
  419.     #
  420.     # If the AddEncoding directives above are commented-out, then you
  421.     # probably should define those extensions to indicate media types:
  422.     #
  423.     AddType application/x-compress .Z
  424.     AddType application/x-gzip .gz .tgz
  425.     AddType application/x-tar .tgz
  426.     AddType image/x-icon .ico
  427.     AddType application/vnd.wap.wmlc .wmlc
  428.     AddType application/x-httpd-php .phtml .pwml .php5 .php4 .php3 .php2 .php .inc
  429.     AddType text/vnd.wap.wml .wml
  430.     AddType text/vnd.wap.wmlscript .wmls
  431.     AddType text/vnd.wap.wmlscriptc .wmlsc
  432.     AddType image/vnd.wap.wbmp .wbmp
  433.  
  434.     #
  435.     # AddHandler allows you to map certain file extensions to "handlers":
  436.     # actions unrelated to filetype. These can be either built into the server
  437.     # or added with the Action directive (see below)
  438.     #
  439.     # To use CGI scripts outside of ScriptAliased directories:
  440.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  441.     #
  442.     #AddHandler cgi-script .cgi
  443.  
  444.     # For type maps (negotiated resources):
  445.     #AddHandler type-map var
  446.  
  447.     #
  448.     # Filters allow you to process content before it is sent to the client.
  449.     #
  450.     # To parse .shtml files for server-side includes (SSI):
  451.     # (You will also need to add "Includes" to the "Options" directive.)
  452.     #
  453.     #AddType text/html .shtml
  454.     #AddOutputFilter INCLUDES .shtml
  455. </IfModule>
  456.  
  457. #
  458. # The mod_mime_magic module allows the server to use various hints from the
  459. # contents of the file itself to determine its type.  The MIMEMagicFile
  460. # directive tells the module where the hint definitions are located.
  461. #
  462. #MIMEMagicFile conf/magic
  463.  
  464. #
  465. # Customizable error responses come in three flavors:
  466. # 1) plain text 2) local redirects 3) external redirects
  467. #
  468. # Some examples:
  469. #ErrorDocument 500 "The server made a boo boo."
  470. #ErrorDocument 404 /missing.html
  471. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  472. #ErrorDocument 402 http://localhost/subscription_info.html
  473. #
  474.  
  475. #
  476. # EnableMMAP and EnableSendfile: On systems that support it, 
  477. # memory-mapping or the sendfile syscall is used to deliver
  478. # files.  This usually improves server performance, but must
  479. # be turned off when serving from networked-mounted 
  480. # filesystems or if support for these functions is otherwise
  481. # broken on your system.
  482. #
  483. #EnableMMAP off
  484. #EnableSendfile off
  485.  
  486.  
  487. # ============================================================================
  488. # Multi-language error messages
  489. # #
  490. # # The configuration below implements multi-language error documents through
  491. # # content-negotiation.
  492. # #
  493. # # Required modules: mod_alias, mod_include, mod_negotiation
  494. # #
  495. # # We use Alias to redirect any /error/HTTP_<error>.html.var response to
  496. # # our collection of by-error message multi-language collections.  We use 
  497. # # includes to substitute the appropriate text.
  498. # #
  499. # # You can modify the messages' appearance without changing any of the
  500. # # default HTTP_<error>.html.var files by adding the line:
  501. # #
  502. # #   Alias /error/include/ "/your/include/path/"
  503. # #
  504. # # which allows you to create your own set of files by starting with the
  505. # # ${path}/apache/error/include/ files and copying them to /your/include/path/, 
  506. # # even on a per-VirtualHost basis.  The default include files will display
  507. # # your Apache version number and your ServerAdmin email address regardless
  508. # # of the setting of ServerSignature.
  509. # Alias /error/ "${path}/apache/error/"
  510. # <Directory "${path}/apache/error">
  511. #     AllowOverride None
  512. #     Options IncludesNoExec
  513. #     AddOutputFilter Includes html
  514. #     AddHandler type-map var
  515. #     Order allow,deny
  516. #     Allow from all
  517. #     LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
  518. #     ForceLanguagePriority Prefer Fallback
  519. # </Directory>
  520. # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  521. # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  522. # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  523. # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  524. # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  525. # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  526. # ErrorDocument 410 /error/HTTP_GONE.html.var
  527. # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  528. # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  529. # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  530. # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  531. # ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  532. # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  533. # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  534. # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  535. # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  536. # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
  537. # ============================================================================
  538.  
  539.  
  540. # ============================================================================
  541. # Fancy directory listings
  542. #
  543. # Directives controlling the display of server-generated directory listings.
  544. #
  545. # Required modules: mod_autoindex, mod_alias
  546. #
  547. # To see the listing of a directory, the Options directive for the
  548. # directory must include "Indexes", and the directory must not contain
  549. # a file matching those listed in the DirectoryIndex directive.
  550. #
  551.  
  552. #
  553. # IndexOptions: Controls the appearance of server-generated directory
  554. # listings.
  555. #
  556. IndexOptions FancyIndexing HTMLTable VersionSort
  557.  
  558. # We include the /icons/ alias for FancyIndexed directory listings.  If
  559. # you do not use FancyIndexing, you may comment this out.
  560. #
  561. Alias /icons/ "${path}/apache/icons/"
  562.  
  563. <Directory "${path}/apache/icons">
  564.     Options Indexes MultiViews
  565.     AllowOverride None
  566.     Order allow,deny
  567.     Allow from all
  568. </Directory>
  569.  
  570. #
  571. # AddIcon* directives tell the server which icon to show for different
  572. # files or filename extensions.  These are only displayed for
  573. # FancyIndexed directories.
  574. #
  575. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  576.  
  577. AddIconByType (TXT,/icons/text.gif) text/*
  578. AddIconByType (IMG,/icons/image2.gif) image/*
  579. AddIconByType (SND,/icons/sound2.gif) audio/*
  580. AddIconByType (VID,/icons/movie.gif) video/*
  581.  
  582. AddIcon /icons/binary.gif .bin .exe
  583. AddIcon /icons/binhex.gif .hqx
  584. AddIcon /icons/tar.gif .tar
  585. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  586. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  587. AddIcon /icons/a.gif .ps .ai .eps
  588. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  589. AddIcon /icons/text.gif .txt
  590. AddIcon /icons/c.gif .c
  591. AddIcon /icons/p.gif .pl .py
  592. AddIcon /icons/f.gif .for
  593. AddIcon /icons/dvi.gif .dvi
  594. AddIcon /icons/uuencoded.gif .uu
  595. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  596. AddIcon /icons/tex.gif .tex
  597. AddIcon /icons/bomb.gif core
  598.  
  599. AddIcon /icons/back.gif ..
  600. AddIcon /icons/hand.right.gif README
  601. AddIcon /icons/folder.gif ^^DIRECTORY^^
  602. AddIcon /icons/blank.gif ^^BLANKICON^^
  603.  
  604. #
  605. # DefaultIcon is which icon to show for files which do not have an icon
  606. # explicitly set.
  607. #
  608. DefaultIcon /icons/unknown.gif
  609.  
  610. #
  611. # AddDescription allows you to place a short description after a file in
  612. # server-generated indexes.  These are only displayed for FancyIndexed
  613. # directories.
  614. # Format: AddDescription "description" filename
  615. #
  616. AddDescription "GZIP compressed document" .gz
  617. AddDescription "tar archive" .tar
  618. AddDescription "GZIP compressed tar archive" .tgz
  619. AddDescription "ZIP archive" .zip
  620. AddDescription "CAB archive" .cab
  621. AddDescription "Win32 Executable" .exe
  622.  
  623. #
  624. # ReadmeName is the name of the README file the server will look for by
  625. # default, and append to directory listings.
  626. #
  627. # HeaderName is the name of a file which should be prepended to
  628. # directory indexes. 
  629. ReadmeName README.html
  630. HeaderName HEADER.html
  631.  
  632. #
  633. # IndexIgnore is a set of filenames which directory indexing should ignore
  634. # and not include in the listing.  Shell-style wildcarding is permitted.
  635. #
  636. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  637. # ============================================================================
  638.  
  639.  
  640. # ============================================================================
  641. # Local access to the Apache HTTP Server Manual
  642. #
  643. # Provide access to the documentation on your server as
  644. #  http://yourserver.localhost/manual/
  645. # The documentation is always available at
  646. #  http://httpd.apache.org/docs/2.2/
  647. #
  648. # Required modules: mod_alias, mod_setenvif, mod_negotiation
  649. #
  650.  
  651. AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "${path}/apache/manual$1"
  652.  
  653. <Directory "${path}/apache/manual">
  654.     Options Indexes
  655.     AllowOverride None
  656.     Order allow,deny
  657.     Allow from all
  658.  
  659.     <Files *.html>
  660.         SetHandler type-map
  661.     </Files>
  662.  
  663.     SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
  664.     RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
  665.  
  666.     LanguagePriority en de es fr ja ko pt-br ru 
  667.     ForceLanguagePriority Prefer Fallback
  668. </Directory>
  669. # ============================================================================
  670.  
  671.  
  672. # ============================================================================
  673. # Distributed authoring and versioning (WebDAV)
  674. # #
  675. # # Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
  676. # #                   mod_auth_digest, mod_authn_file
  677. # #
  678. # # The following example gives DAV write access to a directory called
  679. # # "uploads" under the ServerRoot directory.
  680. # #
  681. # # The User/Group specified in httpd.conf needs to have write permissions
  682. # # on the directory where the DavLockDB is placed and on any directory where
  683. # # "Dav On" is specified.
  684. # DavLockDB "${path}/apache/var/DavLock"
  685. # Alias /uploads "${path}/apache/uploads"
  686. # <Directory "${path}/apache/uploads">
  687. #     Dav On
  688. #     Order Allow,Deny
  689. #     Allow from all
  690. #     AuthType Digest
  691. #     AuthName DAV-upload
  692. #     # You can use the htdigest program to create the password database:
  693. #     #   htdigest -c "${path}/apache/user.passwd" DAV-upload admin
  694. #     AuthUserFile "${path}/apache/user.passwd"
  695. #     # Allow universal read-access, but writes are restricted
  696. #     # to the admin user.
  697. #     <LimitExcept GET OPTIONS>
  698. #         require user admin
  699. #     </LimitExcept>
  700. # </Directory>
  701. # #
  702. # # The following directives disable redirects on non-GET requests for
  703. # # a directory that does not include the trailing slash.  This fixes a 
  704. # # problem with several clients that do not appropriately handle 
  705. # # redirects for folders with DAV methods.
  706. # #
  707. # BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  708. # BrowserMatch "MS FrontPage" redirect-carefully
  709. # BrowserMatch "^WebDrive" redirect-carefully
  710. # BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  711. # BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  712. # BrowserMatch "^XML Spy" redirect-carefully
  713. # BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  714. # ============================================================================
  715.  
  716.  
  717. # ============================================================================
  718. # Secure (SSL/TLS) connections
  719. # #
  720. # # This is the Apache server configuration file providing SSL support.
  721. # # It contains the configuration directives to instruct the server how to
  722. # # serve pages over an https connection. For detailing information about these 
  723. # # directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
  724. # # 
  725. # # Do NOT simply read the instructions in here without understanding
  726. # # what they do.  They're here only as hints or reminders.  If you are unsure
  727. # # consult the online docs. You have been warned.  
  728. # #
  729. # #
  730. # # Pseudo Random Number Generator (PRNG):
  731. # # Configure one or more sources to seed the PRNG of the SSL library.
  732. # # The seed data should be of good random quality.
  733. # # WARNING! On some platforms /dev/random blocks if not enough entropy
  734. # # is available. This means you then cannot use the /dev/random device
  735. # # because it would lead to very long connection times (as long as
  736. # # it requires to make more entropy available). But usually those
  737. # # platforms additionally provide a /dev/urandom device which doesn't
  738. # # block. So, if available, use this one instead. Read the mod_ssl User
  739. # # Manual for more details.
  740. # #
  741. # #SSLRandomSeed startup file:/dev/random  512
  742. # #SSLRandomSeed startup file:/dev/urandom 512
  743. # #SSLRandomSeed connect file:/dev/random  512
  744. # #SSLRandomSeed connect file:/dev/urandom 512
  745. # #
  746. # # When we also provide SSL we have to listen to the 
  747. # # standard HTTP port (see above) and to the HTTPS port
  748. # #
  749. # # Note: Configurations that use IPv6 but not IPv4-mapped addresses need two
  750. # #       Listen directives: "Listen [::]:443" and "Listen 0.0.0.0:443"
  751. # #
  752. # Listen 443
  753. # ##
  754. # ##  SSL Global Context
  755. # ##
  756. # ##  All SSL configuration in this context applies both to
  757. # ##  the main server and all SSL-enabled virtual hosts.
  758. # ##
  759. # #
  760. # #   Some MIME-types for downloading Certificates and CRLs
  761. # #
  762. # AddType application/x-x509-ca-cert .crt
  763. # AddType application/x-pkcs7-crl    .crl
  764. # #   Pass Phrase Dialog:
  765. # #   Configure the pass phrase gathering process.
  766. # #   The filtering dialog program (`builtin' is a internal
  767. # #   terminal dialog) has to provide the pass phrase on stdout.
  768. # SSLPassPhraseDialog  builtin
  769. # #   Inter-Process Session Cache:
  770. # #   Configure the SSL Session Cache: First the mechanism 
  771. # #   to use and second the expiring timeout (in seconds).
  772. # #SSLSessionCache         dbm:${path}/apache/logs/ssl_scache
  773. # SSLSessionCache        shmcb:${path}/apache/logs/ssl_scache(512000)
  774. # SSLSessionCacheTimeout  300
  775. # #   Semaphore:
  776. # #   Configure the path to the mutual exclusion semaphore the
  777. # #   SSL engine uses internally for inter-process synchronization. 
  778. # SSLMutex default
  779. # ##
  780. # ## SSL Virtual Host Context
  781. # ##
  782. # <VirtualHost _default_:443>
  783. # #   General setup for the virtual host
  784. # DocumentRoot "${path}/www"
  785. # ServerName localhost:443
  786. # ServerAdmin contact@localhost
  787. # ErrorLog ${path}/apache/logs/error_log
  788. # TransferLog ${path}/apache/logs/access_log
  789. # #   SSL Engine Switch:
  790. # #   Enable/Disable SSL for this virtual host.
  791. # SSLEngine on
  792. # #   SSL Cipher Suite:
  793. # #   List the ciphers that the client is permitted to negotiate.
  794. # #   See the mod_ssl documentation for a complete list.
  795. # SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  796. # #   Server Certificate:
  797. # #   Point SSLCertificateFile at a PEM encoded certificate.  If
  798. # #   the certificate is encrypted, then you will be prompted for a
  799. # #   pass phrase.  Note that a kill -HUP will prompt again.  Keep
  800. # #   in mind that if you have both an RSA and a DSA certificate you
  801. # #   can configure both in parallel (to also allow the use of DSA
  802. # #   ciphers, etc.)
  803. # SSLCertificateFile ${path}/apache/conf/server.crt
  804. # #SSLCertificateFile ${path}/apache/conf/server-dsa.crt
  805. # #   Server Private Key:
  806. # #   If the key is not combined with the certificate, use this
  807. # #   directive to point at the key file.  Keep in mind that if
  808. # #   you've both a RSA and a DSA private key you can configure
  809. # #   both in parallel (to also allow the use of DSA ciphers, etc.)
  810. # SSLCertificateKeyFile ${path}/apache/conf/server.key
  811. # #SSLCertificateKeyFile ${path}/apache/conf/server-dsa.key
  812. # #   Server Certificate Chain:
  813. # #   Point SSLCertificateChainFile at a file containing the
  814. # #   concatenation of PEM encoded CA certificates which form the
  815. # #   certificate chain for the server certificate. Alternatively
  816. # #   the referenced file can be the same as SSLCertificateFile
  817. # #   when the CA certificates are directly appended to the server
  818. # #   certificate for convinience.
  819. # #SSLCertificateChainFile ${path}/apache/conf/server-ca.crt
  820. # #   Certificate Authority (CA):
  821. # #   Set the CA certificate verification path where to find CA
  822. # #   certificates for client authentication or alternatively one
  823. # #   huge file containing all of them (file must be PEM encoded)
  824. # #   Note: Inside SSLCACertificatePath you need hash symlinks
  825. # #         to point to the certificate files. Use the provided
  826. # #         Makefile to update the hash symlinks after changes.
  827. # #SSLCACertificatePath ${path}/apache/conf/ssl.crt
  828. # #SSLCACertificateFile ${path}/apache/conf/ssl.crt/ca-bundle.crt
  829. # #   Certificate Revocation Lists (CRL):
  830. # #   Set the CA revocation path where to find CA CRLs for client
  831. # #   authentication or alternatively one huge file containing all
  832. # #   of them (file must be PEM encoded)
  833. # #   Note: Inside SSLCARevocationPath you need hash symlinks
  834. # #         to point to the certificate files. Use the provided
  835. # #         Makefile to update the hash symlinks after changes.
  836. # #SSLCARevocationPath ${path}/apache/conf/ssl.crl
  837. # #SSLCARevocationFile ${path}/apache/conf/ssl.crl/ca-bundle.crl
  838. # #   Client Authentication (Type):
  839. # #   Client certificate verification type and depth.  Types are
  840. # #   none, optional, require and optional_no_ca.  Depth is a
  841. # #   number which specifies how deeply to verify the certificate
  842. # #   issuer chain before deciding the certificate is not valid.
  843. # #SSLVerifyClient require
  844. # #SSLVerifyDepth  10
  845. # #   Access Control:
  846. # #   With SSLRequire you can do per-directory access control based
  847. # #   on arbitrary complex boolean expressions containing server
  848. # #   variable checks and other lookup directives.  The syntax is a
  849. # #   mixture between C and Perl.  See the mod_ssl documentation
  850. # #   for more details.
  851. # #<Location />
  852. # #SSLRequire (    %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
  853. # #            and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
  854. # #            and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
  855. # #            and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
  856. # #            and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20       ) \
  857. # #           or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
  858. # #</Location>
  859. # #   SSL Engine Options:
  860. # #   Set various options for the SSL engine.
  861. # #   o FakeBasicAuth:
  862. # #     Translate the client X.509 into a Basic Authorisation.  This means that
  863. # #     the standard Auth/DBMAuth methods can be used for access control.  The
  864. # #     user name is the `one line' version of the client's X.509 certificate.
  865. # #     Note that no password is obtained from the user. Every entry in the user
  866. # #     file needs this password: `xxj31ZMTZzkVA'.
  867. # #   o ExportCertData:
  868. # #     This exports two additional environment variables: SSL_CLIENT_CERT and
  869. # #     SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
  870. # #     server (always existing) and the client (only existing when client
  871. # #     authentication is used). This can be used to import the certificates
  872. # #     into CGI scripts.
  873. # #   o StdEnvVars:
  874. # #     This exports the standard SSL/TLS related `SSL_*' environment variables.
  875. # #     Per default this exportation is switched off for performance reasons,
  876. # #     because the extraction step is an expensive operation and is usually
  877. # #     useless for serving static content. So one usually enables the
  878. # #     exportation for CGI and SSI requests only.
  879. # #   o StrictRequire:
  880. # #     This denies access when "SSLRequireSSL" or "SSLRequire" applied even
  881. # #     under a "Satisfy any" situation, i.e. when it applies access is denied
  882. # #     and no other module can change it.
  883. # #   o OptRenegotiate:
  884. # #     This enables optimized SSL connection renegotiation handling when SSL
  885. # #     directives are used in per-directory context. 
  886. # #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
  887. # <FilesMatch "\.(cgi|shtml|phtml|php)$">
  888. #     SSLOptions +StdEnvVars
  889. # </FilesMatch>
  890. # <Directory "${path}/cgi-bin">
  891. #     SSLOptions +StdEnvVars
  892. # </Directory>
  893. # #   SSL Protocol Adjustments:
  894. # #   The safe and default but still SSL/TLS standard compliant shutdown
  895. # #   approach is that mod_ssl sends the close notify alert but doesn't wait for
  896. # #   the close notify alert from client. When you need a different shutdown
  897. # #   approach you can use one of the following variables:
  898. # #   o ssl-unclean-shutdown:
  899. # #     This forces an unclean shutdown when the connection is closed, i.e. no
  900. # #     SSL close notify alert is send or allowed to received.  This violates
  901. # #     the SSL/TLS standard but is needed for some brain-dead browsers. Use
  902. # #     this when you receive I/O errors because of the standard approach where
  903. # #     mod_ssl sends the close notify alert.
  904. # #   o ssl-accurate-shutdown:
  905. # #     This forces an accurate shutdown when the connection is closed, i.e. a
  906. # #     SSL close notify alert is send and mod_ssl waits for the close notify
  907. # #     alert of the client. This is 100% SSL/TLS standard compliant, but in
  908. # #     practice often causes hanging connections with brain-dead browsers. Use
  909. # #     this only for browsers where you know that their SSL implementation
  910. # #     works correctly. 
  911. # #   Notice: Most problems of broken clients are also related to the HTTP
  912. # #   keep-alive facility, so you usually additionally want to disable
  913. # #   keep-alive for those clients, too. Use variable "nokeepalive" for this.
  914. # #   Similarly, one has to force some clients to use HTTP/1.0 to workaround
  915. # #   their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
  916. # #   "force-response-1.0" for this.
  917. # BrowserMatch ".*MSIE.*" \
  918. #          nokeepalive ssl-unclean-shutdown \
  919. #          downgrade-1.0 force-response-1.0
  920. # #   Per-Server Logging:
  921. # #   The home of a custom SSL log file. Use this when you want a
  922. # #   compact non-error SSL logfile on a virtual host basis.
  923. # CustomLog ${path}/apache/logs/ssl_request_log \
  924. #           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  925. # </VirtualHost>  
  926. # ============================================================================
  927.  
  928.  
  929. # Supplemental configuration
  930. #
  931. # The configuration files in the conf/extra/ directory can be 
  932. # included to add extra features or to modify the default configuration of 
  933. # the server, or you may simply copy their contents here and change as 
  934. # necessary.
  935.  
  936. # Server-pool management (MPM specific)
  937. #Include conf/extra/httpd-mpm.conf
  938.  
  939. # Language settings
  940. #Include conf/extra/httpd-languages.conf
  941.  
  942. # User home directories
  943. #Include conf/extra/httpd-userdir.conf
  944.  
  945. # Real-time info on requests and configuration
  946. #Include conf/extra/httpd-info.conf
  947.  
  948. # Virtual hosts
  949. #Include conf/extra/httpd-vhosts.conf
  950.  
  951. # Various default settings
  952. #Include conf/extra/httpd-default.conf
  953.  
  954. #
  955. # Note: The following must must be present to support
  956. #       starting without SSL on platforms with no /dev/random equivalent
  957. #       but a statically compiled-in mod_ssl.
  958. #
  959. <IfModule ssl_module>
  960. SSLRandomSeed startup builtin
  961. SSLRandomSeed connect builtin
  962. </IfModule>
  963.  
  964. ### Alias EasyPHP
  965. # ========================================
  966. # !!! DO NOT REMOVE the lines "#alias" !!!
  967. # ========================================
  968. #alias
  969. #alias